package model

import "gorm.io/gorm"

type GoodsOptopmsInfo struct {
	gorm.Model
	GoodsId uint    `json:"goods_id" gorm:"comment:商品id"`
	PicUri  string  `json:"pic_url" gorm:"comment:图片; type:varchar(255)"`
	Name    string  `json:"name" gorm:"connment:商品名称; type:varchar(255)"`
	Price   float64 `json:"price" gorm:"comment:商品价格"`
	Stock   int     `json:"stock" gorm:"comment:stock:库存"`
}
